/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.vo;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.isfd.domain.IsfdMetadataBusinessSceneDefinition;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;


/**
 * 元数据管理-业务场景定义视图对象 isfd_metadata_business_scene_definition
 *
 * @author Lion Li
 * @date 2024-09-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdMetadataBusinessSceneDefinition.class)
public class IsfdMetadataBusinessSceneDefinitionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 父节点id
     */
    @ExcelProperty(value = "父节点id")
    private Long parentId;

    /**
     * 业务场景名称
     */
    @ExcelProperty(value = "业务场景名称")
    private String name;

    /**
     * 业务场景描述
     */
    @ExcelProperty(value = "业务场景描述")
    private String description;

    /**
     * 使用目的
     */
    @ExcelProperty(value = "使用目的")
    private String purpose;

    /**
     * 业务节点编号，顶级父节点默认为0
     */
    @ExcelProperty(value = "业务节点编号，顶级父节点默认为0")
    private Long sort;

    /**
     * 是否删除，默认是0-未删除，1-已删除
     */
    private Long isDeleted;

    private String createBy;

    private Date createTime;

    private String createByName;

    private Long businessTopId;

    /**
     * 要素库id
     */
    @ExcelProperty(value = "要素库id")
    private String databaseIds;

    private List<IsfdMetadataDatabaseVo> databaseVoList;

    private List<IsfdMetadataBusinessSceneDefinitionVo> children;


}
